<template>
  <div>
    <div class="propupBox" v-show="isShow">
      <div class="propup">
        <span>是否保存修改</span>
        <div class="btn">
          <button @click="over">确定</button>
          <button @click="show">取消</button>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "Propup",
  data() {
    return {};
  },
};
</script>

<style scoped lang="scss">
.propupBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  .propup {
    width: 270px;
    height: 170px;
    background: #fff;
    margin: 0 auto;
    margin-top: 300px;
    border-radius: 20px;
    span {
      display: block;
      width: 100%;
      height: 110px;
      line-height: 110px;
      font-size: 22px;
      text-align: center;
      color: rgb(104, 104, 104);
    }
    .btn {
      width: 100%;
      height: 50px;
      display: flex;
      justify-content: space-around;
      button {
        height: 35px;
        width: 50px;
        border-radius: 5px;
        border: 1px solid rgb(156, 156, 156);
      }
    }
  }
}
</style>